//
//  EPAttachView.h
//  EpointFrame5
//
//  Created by Pill Gong on 14-1-23.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EPAttachItem.h"

@class EPAttachView;

@protocol EPAttachViewDelegate <NSObject>

- (void)epattachView:(EPAttachView *)epacttachView didSelected:(int)index;

- (NSInteger)numberOfItemInepattachView:(EPAttachView *)epacttachView;
- (EPAttachItem *)epattachView:(EPAttachView *)epacttachView itemAtIndex:(int)index;

@optional
- (CGFloat)widthOfItemInepattachView:(EPAttachView *)epacttachView;
- (CGFloat)paddingOfItemInepattachView:(EPAttachView *)epacttachView;

@end

@interface EPAttachView : UIView

@property (nonatomic, assign) id<EPAttachViewDelegate> delegate;

- (void)reloadItemData;

@end
